package com.itheima.service.smsService;

import com.itheima.domain.db.sms.SmsHomeRecommendSubject;

import java.util.List;

public interface SmsHomeRecommendSubjectService {

    //添加首页推荐专题
    void create(SmsHomeRecommendSubject smsHomeRecommendSubject);

    //批量删除专题推荐推荐
    void deleteByid(Integer id);

    //查询总记录数
    Integer count();

    //条件分页查询
    List<SmsHomeRecommendSubject> list(Integer pageNum, Integer pageSize, String subjectName, Integer recommendStatus);

    //批量修改推荐状态
    void update(SmsHomeRecommendSubject smsHomeRecommendSubject);

    //修改推荐排序
    void updateBySort(SmsHomeRecommendSubject smsHomeRecommendSubject);
}
